package cn.stylefeng.guns.modular.hx.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 出库订单明细表
 * </p>
 * @author zhucx
 * @since 2023-08-30
 */
@Data
@TableName("hx_order_out_detailed")
public class HxOrderOutDetailed implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 出库订单
     */
    @TableField("order_out_number")
    private String orderOutNumber;

    /**
     * 新零帮商品id
     */
    @TableField("xlb_goods_id")
    private String xlbGoodsId;

    /**
     * 商品id
     */
    @TableField("goods_id")
    private Long goodsId;

    /**
     * 商品名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 商品编号
     */
    @TableField("goods_number")
    private String goodsNumber;

    /**
     * 商品码
     */
    @TableField("goods_pcode69")
    private String goodsPcode69;

    /**
     * 商品码2
     */
    @TableField("goods_xcode69")
    private String goodsXcode69;

    /**
     * 商品码3
     */
    @TableField("goods_hcode69")
    private String goodsHcode69;

    /**
     * 规格
     */
    @TableField("goods_specs")
    private String goodsSpecs;

    /**
     * 是否拆零
     */
    @TableField("dismantling_parts")
    private String dismantlingParts;

    /**
     *基本单位
     */
    @TableField("jiben_unit")
    private String jibenUnit;

    /**
     * 基本数量
     */
    @TableField("jiben_num")
    private String jibenNum;

    /**
     * 单位
     */
    @TableField("unit")
    private String unit;

    /**
     * 换算率
     */
    @TableField("rate")
    private String rate;

    /**
     * 数量
     */
    @TableField("ps_num")
    private String psNum;

    /**
     * 重量
     */
    @TableField("goods_weight")
    private String goodsWeight;

    /**
     * 应出重量
     */
    @TableField("out_weight")
    private String outWeight;

    /**
     * 体积
     */
    @TableField("goods_volume")
    private String goodsVolume;

    /**
     * 应出体积
     */
    @TableField("out_volume")
    private String outVolume;

    /**
     * 单价
     */
    @TableField("goods_price")
    private String goodsPrice;

    /**
     * 金额
     */
    @TableField("out_money")
    private String outMoney;

    /**
     * 批次
     */
    @TableField("batch")
    private String batch;

    /**
     * 生产日期
     */
    @TableField("detailed_date")
    private String detailedDate;

    /**
     * 备注
     */
    @TableField("notes")
    private String notes;

    /**
     * 收货客户id
     */
    @TableField("get_unit_id")
    private Long getUnitId;

    /**
     * 收货客户
     */
    @TableField("get_unit")
    private String getUnit;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;

    @Override
    public String toString() {
        return "HxOrderOutDetailed{" +
        "id=" + id +
        ", orderOutNumber=" + orderOutNumber +
        ", goodsId=" + goodsId +
        ", goodsName=" + goodsName +
        ", goodsNumber=" + goodsNumber +
        ", goodsPcode69=" + goodsPcode69 +
        ", goodsSpecs=" + goodsSpecs +
        ", unit=" + unit +
        ", rate=" + rate +
        ", psNum=" + psNum +
        ", goodsWeight=" + goodsWeight +
        ", outWeight=" + outWeight +
        ", goodsVolume=" + goodsVolume +
        ", outVolume=" + outVolume +
        ", goodsPrice=" + goodsPrice +
        ", outMoney=" + outMoney +
        ", batch=" + batch +
        ", detailedDate=" + detailedDate +
        ", notes=" + notes +
        ", getUnitId=" + getUnitId +
        ", getUnit=" + getUnit +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", v3=" + v3 +
        ", v4=" + v4 +
        "}";
    }
}
